/*
 * 通用文本
 */

import { Button } from 'tdesign-vue-next'

// 中文翻译
export const commonZh = {
  menu: {
    text: '首页',
    text2: '批量中英',
    text3: '批量小语种',
    change: '换背景',
    subs: '校准字幕',
    text4: 'API密钥',
    text5: 'IP管理',
    text6: '系统代理',
    text7: '文件管理',
    text8: '使用说明',
    text9: '视频混剪',
  },
  header: {
    minimizeText: '最小化',
    maximizeText: '最大化',
    restoreText: '还原',
    closeText: '关闭'
  },
  tab: {
    myWorksText: '我的作品',
    myAvatarsText: '本地模型',
    commonAvatarsText: '公共库模型'
  },
  input: {
    enterNamePlaceholder: '请输入数字模特名称',
    enterKeywordPlaceholder: '请输入短视频名称/模特名称',
    avatarNamePlaceholder: '请输入模特名称',
    searchAvatarNamePlaceholder: '搜索模特',
    videoContentTextPlaceholder: '请在这里输入您的文本内容，支持中英文',
    languagePlaceholder: '请选择语言',
  },
  banner0: {
    title: '短视频制作',
    subTitle: '极速生产口播视频',
    buttonText: '创建视频'
  },
  banner1: {
    title: '快速定制模特',
    subTitle: '只需一个视频快速定制',
    buttonText: '快速定制'
  },
  videoList: {
    previewTitle: '预览原视频',
    previewCaptionTitle: '字幕视频',
    downloadTitle: '下载原视频',
    downloadTitleCaption: '字幕视频',
    downloadCaptionTitle: '编辑字幕',
    makeFailedText: '制作失败',
    draftsText: '草稿',
    underProduction: '正在制作中，请耐心等待',
    queuing: '排队中，请耐心等待',
    emptyText: '您还没有视频作品',
    emptyLinkRouteText: '点击这里',
    emptyRightText: '开始制作视频',
    "batchSelect": "批量选择",
    "selected": "已选择",
    "selectAllInCurrentPage": "选择当前页",
    "clearSelection": "清除选择",
    "batchDownload": "批量下载",
    "batchDelete": "批量删除",
    "batchCaption": "批量压字幕",
    "reSubmit": "重新提交",
    "noVideoSelected": "请至少选择一个视频",
    "noSuccessfulVideoSelected": "请选择至少一个已成功生成的视频",
    "batchDeleteConfirmTitle": "确认批量删除",
    "batchDeleteConfirmContent": "确定要删除选中的 {count} 个视频吗？此操作不可恢复。",
    "batchDeleteSuccess": "成功删除 {count} 个视频",
    "batchDeleteFailed": "批量删除失败",
    "batchDownloadProgress": "批量下载进度",
    "batchCaptionProgress": "批量压字幕进度",
    "downloadingCount": "正在下载 {current}/{total}",
    "captionCount": "正在执行 {current}/{total}",
    "cancelDownload": "取消下载",
    "cancelBatchCaption": "取消压字幕",
    "downloadCancelled": "下载已取消",
    "batchDownloadComplete": "成功下载 {count} 个视频",
    "batchDownloadFailed": "批量下载失败",
    "batchCaptionFailed": "批量压字幕失败",
    "batchPrintedFailed": "批量加印花失败",
    "selectAllSuccess": "已选择当前页所有视频",
    "clearSelectionSuccess": "已清除所有选择",
    "downloadStarted": "开始下载",
    "downloadFailed": "下载失败",
    "close": "关闭",
    "batchCaptionComplete": "批量字幕压视频完成，成功处理 {count} 个视频",
    "batchCaptionAllFailed": "批量字幕压视频失败，{count} 个视频处理失败",
    "batchCaptionPartialSuccess": "批量字幕压视频完成，成功 {success} 个，失败 {failure} 个，共 {total} 个",
    "captionProcessing": "正在处理字幕压视频...",
    "captionCancelling": "正在取消操作...",
    "captionCompleted": "处理完成",
    "cancelling": "取消中...",
    "CaptionCancelled": "批量字幕压视频已取消"
  },
  myModelList: {
    emptyText: '您还没有专属模特',
    emptyLinkRouteText: '点击这里',
    emptyRightText: '开始制作模特',
    inProgressText: '训练中',
    createVideoText: '做视频',
    previewText: '预览'
  },
  commonModelList: {
    searchPlaceholder: '请输入模型名称',
    useModel: '使用模型',
    noModelsFound: '目前没有公共模型',
    useModelTitle: '使用当前模型',
    modelName: '模型名称',
    category: '分类',
    languageFilterPlaceholder: '选择语言',
    categoryFilter: '分类筛选',
    clearFilter: '清除筛选',
    allCategories: '全部',
    allSubcategories: '全部',
    previewVideo: '预览视频',
    downloadVideo: '下载视频',
    goBatchProcess: '去批量处理中英',
    goBatchProcess2: '去批量处理小语种',
    previewTitle: '预览数字人',
    language: '语言',
    editModel: '修改模型',
    deleteConfirmText: '确定要删除数字人',
    deleteModel: '删除数字人'
  },
  modelSource: {
    local: '本地模型',
    common: '公共库模型'
  },
  deleteDialog: {
    buttonTextLeft: '取消',
    buttonTextRight: '确定',
    titleH1: '提示',
    titleOk: '确认删除？',
    titleText: '删除后将无法恢复哦~'
  },
  message: {
    deleteCategorySuccess: "删除分类成功",
    deleteCategoryError: "删除分类失败",
    deleteErrorText: '删除失败',
    deleteSuccessText: '删除成功',
    videoUploadError: '视频上传失败',
    videoLength: '视频时长至少15秒',
    videoContentText: '请输入文本内容',
    selectModelsTextError: '请先定制或选择模特',
    VideoTextError: '请输入视频名称',
    VideoCopywritingTextError: '请输入视频文案',
    videoSynthesisTextError: '合成视频失败，请稍后再试',
    initEditVideoPageFailed: '初始化视频编辑页面失败，请稍后再试',
    batchUploadLimit: "最多只能同时上传{limit}个视频",
    noValidVideos: "没有找到有效的视频",
    someInvalidVideos: "部分视频无效，已被过滤",
    loadCategoriesError: "加载分类失败",
    noVideoToSync: "没有可同步的视频信息",
    syncVideoError: "保存视频信息失败",
    syncSuccess: "保存视频信息成功",
    noBatchVideos: "请选择要上传的视频",
    batchVideoNameRequired: "请为所有视频填写名称",
    selectCategoryFirst: "请至少选择一级和二级分类",
    addCategorySuccess: "添加分类成功",
    addCategoryError: "添加分类失败",
    languageRequired: '请选择语言',
    loadCommonModelsError: '加载公共库模型失败'
  },
  modelCreateView: {
    headerTitle: '极速定制',
    submitButtonText: '提交定制',
    avatarNameText: '模特名称',
    isUploading: '正在上传中...',
    tipsText: '点击上传拍摄好的原始视频',
    uploadVideoText: '上传视频',
    guideTitle: '标准示例',
    okRulesLi1: '1.视频时长最少8秒,说话吐字清晰；',
    okRulesLi2: '2.视频前后有且只有同一个人；',
    okRulesLi3: '3.五官清晰不遮挡，头部不倾斜或侧向，手势不要出现在面部、嘴巴、脖子；',
    okRulesLi4: '4.视频分辨率最低720P；',
    okRulesLi5: '5.视频格式为MP4/MOV。',
    guideErrorTitle: '错误示例',
    faceMore: '多张人脸',
    faceBig: '面部过大',
    faceNo: '未检测到人脸',
    faceHalf: '五官遮挡',
    videoName: '视频名称',
    syncToLibrary: "同步到公共库",
    batchUploadTips: "或者批量选择视频文件",
    batchUploadText: "批量上传",
    batchModeTitle: "批量创建模特",
    selectedCount: "已选择 {count} 个视频",
    syncedTag: "已同步",
    languageText: '语言选择',
  },
  categorySelector: {
    title: "选择视频分类",
    selectCategory: "请选择视频分类",
    primaryCategory: "一级分类",
    secondaryCategory: "二级分类",
    tertiaryCategory: "三级分类",
    addNew: "新建",
    newCategoryPlaceholder: "输入新分类名称",
    deleteConfirmTitle: "删除分类",
    deletePrimaryConfirm: "确定要删除一级分类"+{name}+"吗？如果该分类下有子分类或关联视频，将无法删除。",
    deleteSecondaryConfirm: "确定要删除二级分类"+{name}+"吗？如果该分类下有子分类或关联视频，将无法删除。",
    deleteTertiaryConfirm: "确定要删除三级分类"+{name}+"吗？如果该分类有关联视频，将无法删除。"
  },
  selectView: {
    selectHeaderText: '模特列表',
    generateButtonText: '立即定制',
    modalFinishedObj: {
      text1: '请移至',
      text2: '“首页-我的作品”',
      text3: '中查看制作结果～',
      rightBtnText: '再创建一个',
      progressBtnText: '去看制作进度',
      okBtnText: '知道了',
      videoOKText: '您的视频已提交！',
      prompt: '温馨提示'
    }
  },
  preview: {
    headerText: '画面预览'
  },
  editView: {
    headerText: '视频内容'
  },
  headerView: {
    headerBackText: '返回',
    createVideoBtnText: '合成视频'
  },
  setting: {
    title: '设置',
    tab: {
      userAgreementText: '用户协议',
      languageSwitchText: '语言切换'
    },
    languageSwitch: {
      languageEnText: '英文',
      languageZhText: '中文'
    },
  },
  button: {
    confirm: "确认",
    cancel: "取消",
    delete: "删除",
    close: '关闭',
    save: '保存'
  },
  languages: {
    vi: '越南语',
    id: '印尼语',
    ms: '马来语',
    th: '泰语',
    zh: '中文',
    en: '英语',
    de: '德语',
    fr: '法语',
    ja: '日语'
  },
}

// 英文翻译
export const commonEn = {
  menu: {
    text: 'Home',
    text2: 'Batch',
    text3: 'Speech',
    change: 'Change',
    subs: 'Subtitles',
    text4: 'APIKey',
    text5: 'IP',
    text6: 'Agent',
    text7: 'File',
    text8: 'Info',
    text9: 'VideoCut',
  },
  header: {
    minimizeText: 'Minimize',
    maximizeText: 'Maximize',
    restoreText: 'Restore',
    closeText: 'Close'
  },
  tab: {
    myWorksText: 'My Works',
    myAvatarsText: 'My Avatars',
    commonAvatarsText: 'Public'
  },
  input: {
    enterNamePlaceholder: 'Please Enter the Name',
    enterKeywordPlaceholder: 'Please Enter the keyword',
    avatarNamePlaceholder: 'Please Enter Avatar Name',
    searchAvatarNamePlaceholder: 'Search',
    videoContentTextPlaceholder: 'Please enter your text content here',
    languagePlaceholder: 'Please select language'
  },
  banner0: {
    title: 'Create Video',
    subTitle: 'AI Video Generator',
    buttonText: 'Create Video'
  },
  banner1: {
    title: 'Create Avatar',
    subTitle: 'Upload a video to generate your own digital avatar.',
    buttonText: 'Create Avatar'
  },
  videoList: {
    previewCaptionTitle: 'Preview',
    downloadTitleCaption: 'Download',
    previewTitle: 'Preview',
    downloadTitle: 'Download',
    makeFailedText: 'Failed',
    draftsText: 'Drafts',
    underProduction: 'Generating, please wait for a moment.',
    queuing: 'In the queue, please wait  for a moment.',
    emptyText: "You don't have any video works yet",
    emptyLinkRouteText: 'click here',
    emptyRightText: 'to Create Video.',
    "batchSelect": "Batch Select",
    "selected": "Selected",
    "selectAllInCurrentPage": "Select Current Page",
    "clearSelection": "Clear Selection",
    "batchDownload": "Batch Download",
    "batchDelete": "Batch Delete",
    "batchCaption": "Batch Caption",
    "reSubmit": "Re-submit",
    "noVideoSelected": "Please select at least one video",
    "noSuccessfulVideoSelected": "Please select at least one successfully generated video",
    "batchDeleteConfirmTitle": "Confirm Batch Delete",
    "batchDeleteConfirmContent": "Are you sure you want to delete {count} selected videos? This action cannot be undone.",
    "batchDeleteSuccess": "Successfully deleted {count} videos",
    "batchDeleteFailed": "Batch delete failed",
    "batchDownloadProgress": "Batch Download Progress",
    "downloadingCount": "Downloading {current}/{total}",
    "cancelDownload": "Cancel Download",
    "downloadCancelled": "Download cancelled",
    "batchDownloadComplete": "Successfully downloaded {count} videos",
    "batchDownloadFailed": "Batch download failed",
    "batchPrintedFailed": "Batch printed failed",
    "selectAllSuccess": "Selected all videos in current page",
    "clearSelectionSuccess": "Cleared all selections",
    "downloadStarted": "Download started",
    "downloadFailed": "Download failed",
    "close": "close",
    "batchCaptionComplete": "Batch caption processing completed, {count} videos processed successfully",
    "batchCaptionAllFailed": "Batch caption processing failed, {count} videos failed to process",
    "batchCaptionPartialSuccess": "Batch caption processing completed, {success} succeeded, {failure} failed, total {total}",
    "captionProcessing": "Processing captions...",
    "captionCancelling": "Cancelling operation...",
    "captionCompleted": "Processing completed",
    "cancelling": "Cancelling...",
    "CaptionCancelled": "Batch caption processing cancelled"
  },
  myModelList: {
    emptyText: "You don't have a Avatar yet",
    emptyLinkRouteText: 'click here',
    emptyRightText: 'to start making a Avatar.',
    inProgressText: 'In Progress',
    createVideoText: 'Create Video',
    previewText: 'Preview'
  },
  commonModelList: {
    searchPlaceholder: 'Please enter the model name',
    useModel: 'Use model',
    noModelsFound: 'There is currently no public model available',
    useModelTitle: 'Use the current model',
    modelName: 'Model name',
    category: 'type',
    languageFilterPlaceholder: 'Choose language',
    categoryFilter: 'filtering',
    clearFilter: 'clear',
    allCategories: 'All',
    allSubcategories: 'All',
    previewVideo: 'Previewing',
    downloadVideo: 'Download',
    goBatchProcess: 'Batch of Zh and En',
    goBatchProcess2: 'Batch of minority language',
    previewTitle: 'Preview Digital People',
    language: 'language'
  },
  modelSource: {
    local: 'Local',
    common: 'Public'
  },
  deleteDialog: {
    buttonTextLeft: 'Cancel',
    buttonTextRight: 'OK',
    titleH1: 'Notice',
    titleOk: 'Confirm Delete?',
    titleText: 'It cannot be recovered after deletion~'
  },
  message: {
    deleteErrorText: 'Failed',
    deleteSuccessText: 'Successful',
    videoUploadError: 'Video Upload Failed',
    videoLength: 'Video length ≥ 8s',
    videoContentText: 'Please enter the text content',
    selectModelsTextError: 'Please customize or select a model first',
    VideoTextError: 'Please enter the video name',
    VideoCopywritingTextError: 'Please enter the video copy',
    videoSynthesisTextError: 'Video Create failed, please try again later',
    initEditVideoPageFailed: 'Failed to initialize video editing page, please try again later',
    batchUploadLimit: 'At most, {limit} videos can be uploaded simultaneously',
    noValidVideos: 'No valid video found',
    someInvalidVideos: 'Some videos are invalid and have been filtered',
    loadCategoriesError: 'Failed to load category',
    noVideoToSync: 'There is no video information that can be synchronized',
    syncVideoError: 'Failed to save video information',
    syncSuccess: 'Successfully saved video information',
    noBatchVideos: 'Please select the video to upload',
    batchVideoNameRequired: 'Please provide names for all videos',
    selectCategoryFirst: 'Please select at least primary and secondary categories',
    addCategorySuccess: 'Category added successfully',
    addCategoryError: 'Adding category failed',
    languageRequired: 'Please select language',
    loadCommonModelsError: 'Failed to load public library model'
  },
  modelCreateView: {
    headerTitle: 'Rapid customization',
    submitButtonText: 'Submit',
    avatarNameText: 'Avatar Name',
    isUploading: 'Uploading...',
    tipsText: 'Click to Upload the Video',
    uploadVideoText: 'Upload Video',
    guideTitle: 'Example',
    okRulesLi1: '1.Video length ≥ 8s. ',
    okRulesLi2: '2.Only one person should appear in the video.',
    okRulesLi3: '3.Facial features should be visible.',
    okRulesLi4: '4.Resolution ≥ 720p; The video format is MP4/MOV.',
    okRulesLi5: '5.It will clone both your image and voice from the video.',
    guideErrorTitle: 'Incorrect Example',
    faceMore: 'Multiple faces',
    faceBig: 'face too close',
    faceNo: 'No face',
    faceHalf: 'Face is obscured',
    videoName: 'video name',
    videoSynthesisTextError: 'Video synthesis failed, please try again later',
    initEditVideoPageFailed: 'Failed to initialize video editing page, please try again later',
    batchUploadLimit: 'At most, {limit} videos can be uploaded simultaneously',
    noValidVideos: 'No valid video found',
    someInvalidVideos: 'Some videos are invalid and have been filtered',
    loadCategoriesError: 'Failed to load category',
    noVideoToSync: 'There is no video information that can be synchronized',
    syncVideoError: 'Failed to save video information',
    syncSuccess: 'Successfully saved video information',
    noBatchVideos: 'Please select the video to upload',
    batchVideoNameRequired: 'Please provide names for all videos',
    selectCategoryFirst: 'Please select at least primary and secondary categories',
    addCategorySuccess: 'Category added successfully',
    addCategoryError: 'Adding category failed',
    languageRequired: 'Please select language',
    loadCommonModelsError: 'Failed to load public library model'
  },
  categorySelector: {
    title: 'Select video category',
    selectCategory: 'Please select video category',
    primaryCategory: 'Primary type',
    secondaryCategory: 'Secondary type',
    tertiaryCategory: 'Three level type',
    addNew: 'new',
    newCategoryPlaceholder: 'Enter new category name',
    deleteConfirmTitle: 'Delete Category',
    deletePrimaryConfirm:
      'Are you sure you want to delete the first level category ' +
      { name } +
      '? If there are subcategories or associated videos under this category, they cannot be deleted.',
    deleteSecondaryConfirm:
      'Are you sure you want to delete the secondary category ' +
      { name } +
      '? If there are subcategories or associated videos under this category, they cannot be deleted.',
    deleteTertiaryConfirm:
      'Are you sure you want to delete the third level category ' +
      { name } +
      '? If the category has associated videos, they cannot be deleted.'
  },
  selectView: {
    selectHeaderText: 'My Avatars',
    generateButtonText: 'Create Avatar',
    modalFinishedObj: {
      text1: 'Please go to',
      text2: '"Home - My Avatars" ',
      text3: 'to check the results～',
      rightBtnText: 'Create again',
      progressBtnText: 'Go production progress',
      okBtnText: 'Got it',
      videoOKText: 'Your video has been submitted!',
      prompt: 'Reminder'
    }
  },
  preview: {
    headerText: 'Preview'
  },
  editView: {
    headerText: 'Content'
  },
  headerView: {
    headerBackText: 'Back',
    createVideoBtnText: 'Submit'
  },
  setting: {
    title: 'Setting',
    tab: {
      userAgreementText: 'User Agreement',
      languageSwitchText: 'Language switch'
    },
    languageSwitch: {
      languageEnText: 'English',
      languageZhText: 'Chinese'
    }
  },
  button: {
    confirm: 'confirm',
    cancel: 'cancel',
    delete: 'delete',
    close: 'close'
  },
  languages: {
    vi: 'Vietnamese',
    id: 'Indonesian',
    ms: 'Malay',
    th: 'Thai',
    zh: 'Chinese',
    en: 'English',
    de: 'German',
    fr: 'French',
    ja: 'Japanese'
  }
}
